libxl: fix erroneous negation for isstubdom
authorSander Eikelenboom <linux@eikelenboom.it>
Sat, 10 Dec 2016 17:59:08 +0000 (18:59 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 12 Dec 2016 09:42:45 +0000 (09:42 +0000)
commite28f1f42990e7cbcf18a117996e63f5a07e50ef2
tree77ebb996f487e2509438eb59f2fb999302b6703a
parentdbc79440afa9f8bb1fbd6bcba80771ff1f461cb0
libxl: fix erroneous negation for isstubdom

Commit 20b75251d9721d9c050a973c02baac396c794ade introduced an erroneous
negation which gave the isstubdom bool the opposite semantics, causing
the subsequent code to take the wrong code path, which breaks HVM
pci-passthrough.

Signed-off-by: Sander Eikelenboom <linux@eikelenboom.it>
Acked-by: Cedric Bosdonnat <cbosdonnat@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_pci.c